package com.sptus.system.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.sptus.system.domain.WorkOrders;
import com.sptus.system.mapper.master.WorkOrdersMapper;
import com.sptus.system.service.IWorkOrdersService;
import org.springframework.stereotype.Service;

import java.util.HashMap;

/**
 * @Description: work_orders
 * @Author: jeecg-boot
 * @Date:   2025-01-18
 * @Version: V1.0
 */
@Service
public class WorkOrdersServiceImpl extends ServiceImpl<WorkOrdersMapper, WorkOrders> implements IWorkOrdersService {

    @Override
    public IPage<HashMap<String, Object>> getWorkList(Page<WorkOrders> page, QueryWrapper<WorkOrders> queryWrapper) {
        return this.getBaseMapper().getWorkList( page,  queryWrapper);
    }

    @Override
    public HashMap<String, Object> getAlarmClassify() {

        return this.getBaseMapper().getAlarmClassify();
    }
}
